#include "probar.h"
void Probar(void)
{
    char bar[102];
    memset(bar,'\0',sizeof(bar));
    int i=0;
    char ch[]={'|','/','-','\\'};
    while(i<=100)
    {
        bar[i]='#';
        printf("[%-100s]-%d%%-[%c]\r",bar,i,ch[i%4]);
        fflush(stdout);
        i++;
        usleep(30000);
    }
    printf("\n>>加载成功<<\n");
    //printf("\n");
}
